package main

import "fmt"

func main() {
	defer_call()
	fmt.Println("main正常结束")
}

func defer_call() {
	defer func() { fmt.Println("defer: panic 之前1") }()
	defer func() { fmt.Println("defer: panic 之前2") }()

	panic("异常内容")

	defer func() { fmt.Println("defer: panic 之后，永远执行不到") }()
}
